name = input("请输入您的名字：")

with open("guess.txt","a+") as fp:
    fp.write(name+'\n')